﻿<phone:PhoneApplicationPage 
    x:Class="PNut_Project_Lin.DetailPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <StackPanel x:Name="LayoutRoot">
        <StackPanel.Background>
            <ImageBrush Stretch="Fill" ImageSource="/picture/jan-31-dark road.jpg"/>
        </StackPanel.Background>


        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,10,0,5">
            <TextBlock x:Name="ApplicationTitle" HorizontalAlignment="Center" Text="Car Emergency Assistant System" Style="{StaticResource PhoneTextNormalStyle}"/>
            <TextBlock x:Name="PageTitle" HorizontalAlignment="Center" Text="page name" Margin="9,5,0,0" FontSize="80" Style="{StaticResource PhoneTextTitle1Style}" FontFamily="/PNut_Project_Lin;component/Fonts/Fonts.zip#TH Sarabun New" />
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <ScrollViewer Height="612">
            <StackPanel >
                <Image x:Name="Img" Width="420" MouseLeftButtonUp="Img_MouseLeftButtonUp"></Image>
                
                <TextBlock Margin="20,0,20,0" x:Name="DetailTb" TextWrapping="Wrap"></TextBlock>
                <Button x:Name="LinkBt" Width="440" Click="LinkBt_Click" >
                    <TextBlock Text="ชมวิดีโอ" FontFamily="/PNut_Project_Lin;component/Fonts/Fonts.zip#TH Sarabun New" FontSize="36" />
                </Button>
            </StackPanel>
        </ScrollViewer>
    </StackPanel>
    
 
   

</phone:PhoneApplicationPage>
